package edu.zut.cs.software.estateagent.contract.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import edu.zut.cs.software.base.domain.BaseEntity;

@Table(name = "T_Map_Search") // 声名数据库表名
@Entity // 声名持久化类
public class MapSearch extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7820657553774323106L; // 生成序列化ID，防止反序列化失败
	private String Sponsor; // 地图技术赞助商
	private String Region; // 地区
	private String Amount; // 地区内房源数量
	private String Price; // 房源价格
	private String Type; // 房源类型
	
	public String getSponsor() {
		return Sponsor;
	}

	public void setSponsor(String sponsor) {
		Sponsor = sponsor;
	}

	public String getRegion() {
		return Region;
	}

	public void setRegion(String region) {
		Region = region;
	}

	public String getAmount() {
		return Amount;
	}

	public void setAmount(String amount) {
		Amount = amount;
	}

	public String getPrice() {
		return Price;
	}

	public void setPrice(String price) {
		Price = price;
	}

	public String getType() {
		return Type;
	}

	public void setType(String type) {
		Type = type;
	}

}
